import request from '@/utils/request';

// 产成品入库计划列表
export function listProductStock(query) {
    return request({
        url: '/system/productStock/list',
        method: 'get',
        params: query
    })
}

// 查询产品计划详细信息
export function detailProductStock(id) {
    return request({
        url: '/system/productStock/getInfo?id=' + id,
        method: 'get'
    })
}

// 一键入库
export function confirmProductStock(data) {
    return request({
        url: '/system/productStock/manualStorage',
        method: 'post',
        data: data
    })
}